HTTPServerImpl

Undocumented in source.

Constructors

this
this(HTTPServerOptions options)
Undocumented in source.

Members

Aliases

IPVector
alias IPVector = Vector!(HTTPServerOptions.IPConfig)
Undocumented in source.
SVector
alias SVector = Vector!(Server)
Undocumented in source.
Server
alias Server = ServerBootstrap!HTTPPipeline
Undocumented in source.
Server
alias Server = TCPServer
Undocumented in source.

Functions

addBind
void addBind(HTTPServerOptions.IPConfig addr)
Undocumented in source. Be warned that the author may not have intended to support it.
addresses
const(IPVector) addresses()
Undocumented in source. Be warned that the author may not have intended to support it.
attachSession
void attachSession(HTTPSession session)
Undocumented in source. Be warned that the author may not have intended to support it.
bind
void bind(IPVector addrs)
Undocumented in source. Be warned that the author may not have intended to support it.
detachSession
void detachSession(HTTPSession session)
Undocumented in source. Be warned that the author may not have intended to support it.
eventLoop
EventLoop eventLoop()
Undocumented in source. Be warned that the author may not have intended to support it.
getRequestHandler
HTTPTransactionHandler getRequestHandler(HTTPTransaction txn, HTTPMessage msg)
Undocumented in source. Be warned that the author may not have intended to support it.
group
EventLoopGroup group()
Undocumented in source. Be warned that the author may not have intended to support it.
maxHeaderSize
uint maxHeaderSize()
Undocumented in source. Be warned that the author may not have intended to support it.
newConnect
ServerConnection newConnect(TcpListener sender, TcpStream stream)
Undocumented in source. Be warned that the author may not have intended to support it.
newServer
void newServer(HTTPServerOptions.IPConfig ipconfig)
Undocumented in source. Be warned that the author may not have intended to support it.
newTCPServer
Server newTCPServer(EventLoop loop, Address address, bool ruseport, bool enableTCPFastOpen, uint fastOpenQueueSize)
Undocumented in source. Be warned that the author may not have intended to support it.
onSessionCodecChange
void onSessionCodecChange(HTTPSession session)
Undocumented in source. Be warned that the author may not have intended to support it.
servers
const(SVector) servers()
Undocumented in source. Be warned that the author may not have intended to support it.
start
void start()
Undocumented in source. Be warned that the author may not have intended to support it.
stop
void stop()
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

setAcceptorConfig
void setAcceptorConfig(shared(HTTPServerOptions.IPConfig) config, TcpListener acceptor)
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From HTTPSessionController

getRequestHandler
HTTPTransactionHandler getRequestHandler(HTTPTransaction txn, HTTPMessage msg)
Undocumented in source.
attachSession
void attachSession(HTTPSession session)
Undocumented in source. Be warned that the author may not have intended to support it.
detachSession
void detachSession(HTTPSession session)

logInformed at the end when the given HTTPSession is going away.

onSessionCodecChange
void onSessionCodecChange(HTTPSession session)

logInform the controller that the session's codec changed

Meta